package com.xuecheng.manage_cms_client;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;

import javax.persistence.Entity;

/**
 * @author: gongfy
 * @create: 2020/7/9 15:12
 * @Description: 页面面管理客户端启动类
 */
@SpringBootApplication
@EntityScan(basePackages = {"com.xuecheng.framework.domain.cms"}) //扫描实体类
@ComponentScan(basePackages = {"com.xuecheng.framework"})//扫描common下的所有类
@ComponentScan(basePackages={"com.xuecheng.manage_cms_client"})
public class ManageCmsClientApplication {

    public static void main(String[] args) {
        SpringApplication.run(ManageCmsClientApplication.class,args);
    }
}
